package com.hw.one.peach.core.dao;

import java.util.List;
import java.util.Map;

import com.hw.one.core.dao.PageDao;
import com.hw.one.peach.core.dao.IEncircledAreaDao;

/**
  * @author  sjd 
  * @date 创建时间：2017年7月28日 下午1:48:34 
  * @version 1.0.0
  */
public class EncircledAreaDao extends PageDao implements IEncircledAreaDao {
	
	private IEncircledAreaDao getInstatnce(){
		
		return getSqlSession().getMapper(IEncircledAreaDao.class);
	}

	
	
	@Override
	public List<Map<String, Object>> findEncircledAreaInfos(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return getInstatnce().findEncircledAreaInfos(map);
	}

	@Override
	public Map<String, Object> findEncircledAreaBySiteCode(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return getInstatnce().findEncircledAreaBySiteCode(map);
	}



	@Override
	public List<Map<String, Object>> retrieveByPage(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return getInstatnce().retrieveByPage(map);
	}



	@Override
	public Integer add(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return getInstatnce().add(map);
	}



	@Override
	public Integer delete(String id) {
		// TODO Auto-generated method stub
		return getInstatnce().delete(id);
	}



	@Override
	public Integer edit(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return getInstatnce().edit(map);
	}



	@Override
	public Map<String, Object> getById(String id) {
		// TODO Auto-generated method stub
		return getInstatnce().getById(id);
	}



	@Override
	public Integer deletes(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return getInstatnce().deletes(map);
	}

	
}
